from dataclasses import dataclass


@dataclass
class TestingEnviroment:
    MER_POST = 'https://api.admin.merchant.java.crmeb.net'
    MER_Username = '18292417675'
    Mer_Password = '000000'

    USER_POST = 'https://api.admin.user.java.crmeb.net'
    USER_USERNAME = 'admin'
    USER_PASSWORD = ''

    PLAT_HOST = 'https://api.admin.platform.java.crmeb.net'
    PLAT_USERNAME = ''
    PLAT_PASSWORD = ''

@dataclass
class DevelopmentEnviroment:
    pass


@dataclass
class ProductionEnviroment:
    pass

ENV_MAPPING = {
    '测试环境': TestingEnviroment,
    '开发环境': DevelopmentEnviroment,
    '生产环境': ProductionEnviroment,
}

ENV = ENV_MAPPING['测试环境']()
print(ENV.MER_POST)
